<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title>Document</title>
		<link rel="stylesheet" href="css/enlarge.css">
	</head>

	<body>
		<div class="xiehContent">
			<div class="box">

				<div class="show">
					<!-- 展示图片 -->
					<img src="img/iPhone12_normal.jpg" style="display: block;" width="100%" height="100%" alt="">
					<!-- 遮罩层 -->
					<div class="mask"></div>
				</div>

				<!-- 放大镜 -->
				<div class="enlarge"></div>

				<div class="list">
					<ul class="clearfix">
						<li class="active">
							<img src="img/iPhone12_small.jpg" data-show="img/iPhone12_normal.jpg" jqimg="img/iPhone12_big.jpg" width="100%" height="100%" alt="">
						</li>
						<li>
							<img src="img/pic_small.jpg" data-show="img/pic_normal.jpg" jqimg="img/pic_big.jpg" width="100%" height="100%" alt="">
						</li>

					</ul>
				</div>

			</div>
		</div>

	</body>
	<script src="js/enlarge.js"></script>
	<script type="text/javascript">
		let e = new Enlarge(".xiehContent>.box");
		e.init();
		console.log(e);
	</script>

</html>